package com.yystar.user.operator.domain;


public class OperatorGroup{

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public static int convertAccessRightIdToGroupNo(int accessRightId) {
		int groupNo = ((int) (accessRightId / 8)) + 1;

		return groupNo;
	}

	public static int convertAccessRightIdToBitNo(int accessRightId) {
		int bitNo = accessRightId % 8;

		return bitNo;
	}

}
